// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store'
import axios from 'axios'
import $ from 'jquery'
import Resource from 'vue-resource'
import './assets/css/reset.css'
import { Swipe, SwipeItem } from 'mint-ui'
import { InfiniteScroll } from 'mint-ui'
import MintUI from 'mint-ui'
import 'mint-ui/lib/style.css'

Vue.use(Resource)
Vue.use(InfiniteScroll)
Vue.use(MintUI)
Vue.component(Swipe.name, Swipe)
Vue.component(SwipeItem.name, SwipeItem)

Vue.config.productionTip = false
Vue.prototype.$ajax = axios

/* eslint-disable no-new */
new Vue({
    el: '#app',
    router,
    store,
    template: '<App/>',
    components: { App }
})